#!/bin/sh

cd $HOME/program_complex/fixed
make -f Makefile-fixed
cp fixed $HOME/program_complex/models/fixed
cd $HOME/program_complex/movable
make -f Makefile-movable
cp movable $HOME/program_complex/models/movable
cd $HOME/program_complex/krotov
make -f Makefile-krotov
cp krotov $HOME/program_complex/models/krotov
all hostname | tee $HOME/program_complex/models/fixed/nodes.txt $HOME/program_complex/models/movable/nodes.txt $HOME/program_complex/models/krotov/nodes.txt
